package com.ruoyi.qymlxin.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class UrlUtil {

    @Value("${server.port}")
    private String port;

    @Value("${my.address}")
    private  String address;

    public String getUrlString(String baseurl) {
        return "http://" + address + ":" + port + baseurl;
    }

}
